package com.yange.accountbook.entity;

import java.util.List;


public class AccountDetailEntity {

    private Double inMoney;

    private Double outMoney;

    private List<DaysDTO> days;

    public Double getInMoney() {
        return inMoney;
    }

    public void setInMoney(Double inMoney) {
        this.inMoney = inMoney;
    }

    public Double getOutMoney() {
        return outMoney;
    }

    public void setOutMoney(Double outMoney) {
        this.outMoney = outMoney;
    }

    public List<DaysDTO> getDays() {
        return days;
    }

    public void setDays(List<DaysDTO> days) {
        this.days = days;
    }


    public static class DaysDTO {

        private String date;

        private Double money;

        private List<RecordsDTO> records;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public Double getMoney() {
            return money;
        }

        public void setMoney(Double money) {
            this.money = money;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public static class RecordsDTO {

            private Integer deleted;

            private Integer createBy;

            private String createTime;

            private Integer updateBy;

            private String updateTime;

            private Object userId;

            private Integer id;

            private Integer accountId;

            private String accountName;

            private Integer bookId;

            private String name;

            private Double money;

            private String icon;

            private String type;

            private String fromType;

            private Integer fromId;

            private String fromName;

            private Object splitId;

            public String getAccountName() {
                return accountName;
            }

            public void setAccountName(String accountName) {
                this.accountName = accountName;
            }

            public Integer getDeleted() {
                return deleted;
            }

            public void setDeleted(Integer deleted) {
                this.deleted = deleted;
            }

            public Integer getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Integer createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Integer getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Integer updateBy) {
                this.updateBy = updateBy;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Object getUserId() {
                return userId;
            }

            public void setUserId(Object userId) {
                this.userId = userId;
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getAccountId() {
                return accountId;
            }

            public void setAccountId(Integer accountId) {
                this.accountId = accountId;
            }

            public Integer getBookId() {
                return bookId;
            }

            public void setBookId(Integer bookId) {
                this.bookId = bookId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Double getMoney() {
                return money;
            }

            public void setMoney(Double money) {
                this.money = money;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getFromType() {
                return fromType;
            }

            public void setFromType(String fromType) {
                this.fromType = fromType;
            }

            public Integer getFromId() {
                return fromId;
            }

            public void setFromId(Integer fromId) {
                this.fromId = fromId;
            }

            public String getFromName() {
                return fromName;
            }

            public void setFromName(String fromName) {
                this.fromName = fromName;
            }

            public Object getSplitId() {
                return splitId;
            }

            public void setSplitId(Object splitId) {
                this.splitId = splitId;
            }
        }
    }
}
